package com.card.server.mapper;



import com.card.server.model.entity.Level;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @author TISNIW
 * @version 1.0
 * @date 2025/5/24 18:52
 * @desc
 */
@Mapper
public interface LevelMapper {
    @Insert("insert into level (user_id,level,exp) values(#{id},1,0)")
    Integer insert(Integer id);
    Level queryById(Long id);
}
